﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NLBS.Entity
{

    public class Right
    {
        private int _view;

        public int View
        {
            get { return _view; }
            set { _view = value; }
        }

        private int _post;
        public int Post
        {
            get { return _post; }
            set { _post = value; }
        }

        private int _edit;
        public int Edit
        {
            get { return _edit; }
            set { _edit = value; }
        }

        private int _delete;
        public int Delete
        {
            get { return _delete; }
            set { _delete = value; }
        }

        private int _upload;
        public int Upload
        {
            get { return _upload; }
            set { _upload = value; }
        }
    }

    public enum UserView
    {
        None,
        Normal,
        Hidden,
        Private
    }

    public enum UserPost
    {
        None, 
        Comments, 
        Articles
    }

    public enum UserEdit
    {
        None, 
        Self, 
        All
    }
    public enum UserDelete
    {
        None,
        Self,
        All
    }

    public enum UserUpload
    {
        Disabled,
        Enabled
    }
}
